package org.rcloud.io.service;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import org.rcloud.io.Utils.PageVo;
import org.rcloud.io.Utils.ResultVo;
import org.rcloud.io.model.Picture;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/3/3.
 */
public interface PictureService {
    ResultVo deleteByPrimaryKey(Picture id);

    ResultVo insert(Picture record);

    ResultVo insertSelective(Picture record);

    ResultVo selectByPrimaryKey(Picture id);

    PageVo<Picture> getByActivid(Picture record);

    PageVo<Picture> selectByActivcopyid(Picture record);

    ResultVo updateByPrimaryKeySelective(Picture record);

    ResultVo updateByPrimaryKey(Picture record);

    PageInfo<Picture> selectByOther(JSONObject params);
}
